#!/bin/bash

if [ whoami != 'root' ]; then
	echo not root
	exit 1
fi

ls /home | while read a;
do
let s++
echo $s > /tmp/count
done
cat /tmp/count
